package javanlp;

import java.io.*; 
//import java.util.ArrayList;
//import java.util.List;


public class WriteToFile {
        public static void main(String[] args) throws Exception {
            double[] xm = new double[] { 1,2,3,5,4,3,1,2,3,10 };
            
            FileWriter x = new FileWriter("c:/a.txt");
            try ( PrintWriter out = new PrintWriter(x) ) {
            for (int i = 0; i < 10; i++) {
                out.println("Value at: " + xm[i] );
            }
        }
    } 
}

